package k2_oop.p2_inheritAndPolymorphic.demo04;

public class Officer extends Adult{

    private String politicalPartiesAndGroups;
    private String job;

    public String getPoliticalPartiesAndGroups() {
        return politicalPartiesAndGroups;
    }

    public void setPoliticalPartiesAndGroups(String politicalPartiesAndGroups) {
        this.politicalPartiesAndGroups = politicalPartiesAndGroups;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }
}
